Submitted:
13 April 2026
Posted:
14 April 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Preliminaries
3. Main Result
4. Examples
5. Applications in Computer Science
5.1. Recursive Data Structures and Formats
| Example | Sample Recursive Construction | Computer Science Interpretation |
|---|---|---|
| HTML/XML documents | <tag>doc</tag> | Each new layer of tags adds an outer syntactic context; describes documents with nesting depth up to n. |
| S-expressions | (f expr) | An appropriate model for parsing nested Lisp-like terms, where each new expression contains an already valid subexpression. |
| JSON tree structure | {"value": x,"children": [node]} | Describes recursively nested objects; corresponds to trees of depth up to n. |
| Linked list | {"head": x,"tail": list} | Each new object adds one more node to the list; the iterations describe lists of length up to n. |
| Serialized abstract syntax tree | Add(expr,num),Neg(expr) | Each constructor builds a more complex expression from an already valid subexpression; describes trees with bounded syntactic depth. |
| Constructions in a Domain-Specific Language (DSL) | Wrap(cmd) | Each operator adds a new syntactic layer around an already valid command or expression. |
5.2. Recursive Data Types, Abstract Syntax Trees, and Serialization
5.3. Validation under Limited Resources: The Length of the Guard as a Computational Parameter
5.4. Restricted Fragment of Recursive JSON Schemas
5.5. Scope and Limitations
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Banach, S. Sur les opérations dans les ensembles abstraits et leur application aux équations intégrales. Fundam. Math. 1922, 3, 133–181. [Google Scholar] [CrossRef]
- de Bakker, J.W.; Zucker, J.I. Processes and the denotational semantics of concurrency. Inf. Control 1982, 54, 70–120. [Google Scholar] [CrossRef]
- America, P.; Rutten, J.J.M.M. Solving reflexive domain equations in a category of complete metric spaces. J. Comput. Syst. Sci. 1989, 39, 343–375. [Google Scholar] [CrossRef]
- Salomaa, A. Formal Languages; Academic Press: New York, NY, USA, 1973; ISBN 978-0-12-615750-5. [Google Scholar]
- Eilenberg, S. Automata, Languages, and Machines, Vol. A; Academic Press: New York, NY, USA, 1974; ISBN 978-0-12-234001-7. [Google Scholar]
- Martens, W.; Neven, F.; Schwentick, T.; Bex, G.J. Expressiveness and complexity of XML Schema. ACM Trans. Database Syst. 2006, 31, 770–813. [Google Scholar] [CrossRef]
- RFC 8259The JavaScript Object Notation (JSON) Data Interchange Format; Bray, T., Ed.; IETF: Fremont, CA, USA, 2017. [Google Scholar] [CrossRef]
- Bird, R. Introduction to Functional Programming using Haskell, 2nd ed.; Prentice Hall Europe: Hemel Hempstead, UK, 1998; ISBN 0-13-484346-0. [Google Scholar]
- Pezoa, F.; Reutter, J.L.; Suarez, F.; Ugarte, M.; Vrgoč, D. Foundations of JSON Schema. In Proceedings of the 25th International Conference on World Wide Web (WWW 2016); ACM: New York, NY, USA, 2016; pp. 263–273. [Google Scholar] [CrossRef]
- Attouche, L.; Baazizi, M.-A.; Colazzo, D.; Ghelli, G.; Sartiani, C.; Scherzinger, S. Validation of Modern JSON Schema: Formalization and Complexity. Proc. ACM Program. Lang. 2024, 8 (POPL), 55. [Google Scholar] [CrossRef]
- Wright, A.; Andrews, H.; Hutton, B.; Dennis, G. JSON Schema: A Media Type for Describing JSON Documents. IETF Internet-Draft draft-bhutton-json-schema-01. 2020. Available online: https://json-schema.org/draft/2020-12/json-schema-core.html.
- Meertens, L. First Steps Towards the Theory of Rose Trees. In Working Paper 592 ROM-25, IFIP Working Group 2.1; CWI: Amsterdam, The Netherlands, 1988. [Google Scholar]
- Gajić, L. On ultrametric spaces. Novi Sad J. Math. 2001, 31, 69–71. [Google Scholar]
- Ajv JSON Schema Validator, version 8.x. 2023. Available online: https://ajv.js.org (accessed on 1 January 2024).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).