Schematron
1 program
Added 2026-02-08T15:57:34Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit c1dd9d7a43 · authored 2026-02-08T16:58:18+01:00 · agent claude-code · model sonnet
Sources mentioning this language
2 sources · pl_id:
pl/schematronRelated languages
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Book Validation Schema
Provenance: commit c1dd9d7a43 · authored 2026-02-08T16:58:18+01:00 · agent claude-code · model sonnet · WebSearch disabled
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://purl.oclc.org/dsdl/schematron">
<title>Book Validation Schema</title>
<pattern>
<rule context="book">
<assert test="title">
A book must have a title.
</assert>
<assert test="author">
A book must have an author.
</assert>
<assert test="string-length(isbn) = 13 or string-length(isbn) = 10">
ISBN must be either 10 or 13 characters long.
</assert>
</rule>
<rule context="book/publication_year">
<assert test=". >= 1450 and . <= 2030">
Publication year must be between 1450 and 2030.
</assert>
</rule>
<rule context="book/price">
<assert test="@currency">
Price must have a currency attribute.
</assert>
<assert test=". > 0">
Price must be greater than zero.
</assert>
</rule>
</pattern>
</schema>