Akoma Ntoso Logo

AKN Subschema Frontend (1.0 beta)

for Tentative release 07/09/2023 - Akoma Ntoso 3.0

Preset combinations

More details

The combination 'Full Akoma Ntoso schema' contains the following modules:

  • Core elements (core)
  • Statement (statementDocs)
  • Components (components)
  • Collections of smaller documents (collectionDocs)
  • Amendment list (amendmentList)
  • Official Gazette (officialGazette)
  • Component: an independent portion of another document (components)
  • Legislative documents (legislativeDocs)
  • Acts (act)
  • Bills (bill)
  • Parliamentary debates and hansards (debateDocs)
  • Debate reports (debateReport)
  • Debates (debate)
  • judgments (judgmentDocs)
  • Amendments (amendmentDocs)
  • Substructures in prefaces and preambles (prefaceSubstructures)
  • Optional hierarchy (optHierarchy)
  • Small hierarchical elements (smallHierarchy)
  • Additional hierarchy (additionalHierarchy)
  • New hierarchy (newHierarchy)
  • Transitional section (transitionalSection)
  • Titled block (tblock)
  • Table of content (toc)
  • Legislative preface elements (legislativePreface)
  • Additional preface elements (advancedPreface)
  • Semantic inline elements (semantic)
  • Advanced references (advancedRefs)
  • Modifications (modifications)
  • Elements for publishing (publishing)
  • Special elements (specials)
  • Typographical delimiters (delimiters)
  • Embedded structures (embedded)
  • Authorial Note (authorialNote)
  • Additional generic containers (additionalGeneric)
  • Generic elements (generic)
  • Elements from HTML (html)
  • HTML table model (table)
  • Advanced metadata (advancedMetadata)

More details

The combination 'UN normative documents' contains the following modules:

  • Core elements (core)
  • Statement (statementDocs)
  • Components (components)
  • Collections of smaller documents (collectionDocs)
  • Amendment list (amendmentList)
  • Official Gazette (officialGazette)
  • Component: an independent portion of another document (components)
  • Legislative documents (legislativeDocs)
  • Acts (act)
  • Bills (bill)
  • Parliamentary debates and hansards (debateDocs)
  • Debate reports (debateReport)
  • Debates (debate)
  • Substructures in prefaces and preambles (prefaceSubstructures)
  • Optional hierarchy (optHierarchy)
  • Small hierarchical elements (smallHierarchy)
  • Additional hierarchy (additionalHierarchy)
  • Transitional section (transitionalSection)
  • Titled block (tblock)
  • Table of content (toc)
  • Legislative preface elements (legislativePreface)
  • Additional preface elements (advancedPreface)
  • Semantic inline elements (semantic)
  • Advanced references (advancedRefs)
  • Modifications (modifications)
  • Elements for publishing (publishing)
  • Special elements (specials)
  • Typographical delimiters (delimiters)
  • Embedded structures (embedded)
  • Authorial Note (authorialNote)
  • Additional generic containers (additionalGeneric)
  • Generic elements (generic)
  • Elements from HTML (html)
  • HTML table model (table)
  • Advanced metadata (advancedMetadata)

More details

The combination 'UN Decisions' contains the following modules:

  • Core elements (core)
  • Statement (statementDocs)
  • Components (components)
  • Collections of smaller documents (collectionDocs)
  • Amendment list (amendmentList)
  • Official Gazette (officialGazette)
  • Component: an independent portion of another document (components)
  • Legislative documents (legislativeDocs)
  • Acts (act)
  • Bills (bill)
  • Parliamentary debates and hansards (debateDocs)
  • Debate reports (debateReport)
  • Debates (debate)
  • Substructures in prefaces and preambles (prefaceSubstructures)
  • Optional hierarchy (optHierarchy)
  • Small hierarchical elements (smallHierarchy)
  • Additional hierarchy (additionalHierarchy)
  • Transitional section (transitionalSection)
  • Titled block (tblock)
  • Table of content (toc)
  • Legislative preface elements (legislativePreface)
  • Additional preface elements (advancedPreface)
  • Semantic inline elements (semantic)
  • Advanced references (advancedRefs)
  • Modifications (modifications)
  • Elements for publishing (publishing)
  • Special elements (specials)
  • Typographical delimiters (delimiters)
  • Embedded structures (embedded)
  • Authorial Note (authorialNote)
  • Additional generic containers (additionalGeneric)
  • Generic elements (generic)
  • Elements from HTML (html)
  • HTML table model (table)
  • Advanced metadata (advancedMetadata)

More details

The combination 'UN Resolutions' contains the following modules:

  • Core elements (core)
  • Statement (statementDocs)
  • Components (components)
  • Collections of smaller documents (collectionDocs)
  • Amendment list (amendmentList)
  • Official Gazette (officialGazette)
  • Component: an independent portion of another document (components)
  • Legislative documents (legislativeDocs)
  • Acts (act)
  • Bills (bill)
  • Parliamentary debates and hansards (debateDocs)
  • Debate reports (debateReport)
  • Debates (debate)
  • Substructures in prefaces and preambles (prefaceSubstructures)
  • Optional hierarchy (optHierarchy)
  • Small hierarchical elements (smallHierarchy)
  • Additional hierarchy (additionalHierarchy)
  • Transitional section (transitionalSection)
  • Titled block (tblock)
  • Table of content (toc)
  • Legislative preface elements (legislativePreface)
  • Additional preface elements (advancedPreface)
  • Semantic inline elements (semantic)
  • Advanced references (advancedRefs)
  • Modifications (modifications)
  • Elements for publishing (publishing)
  • Special elements (specials)
  • Typographical delimiters (delimiters)
  • Embedded structures (embedded)
  • Authorial Note (authorialNote)
  • Additional generic containers (additionalGeneric)
  • Generic elements (generic)
  • Elements from HTML (html)
  • HTML table model (table)
  • Advanced metadata (advancedMetadata)

More details

The combination 'UN Administrative Issuances' contains the following modules:

  • Core elements (core)
  • Statement (statementDocs)
  • Components (components)
  • Collections of smaller documents (collectionDocs)
  • Amendment list (amendmentList)
  • Official Gazette (officialGazette)
  • Component: an independent portion of another document (components)
  • Legislative documents (legislativeDocs)
  • Acts (act)
  • Bills (bill)
  • Parliamentary debates and hansards (debateDocs)
  • Debate reports (debateReport)
  • Debates (debate)
  • Substructures in prefaces and preambles (prefaceSubstructures)
  • Optional hierarchy (optHierarchy)
  • Small hierarchical elements (smallHierarchy)
  • Additional hierarchy (additionalHierarchy)
  • Transitional section (transitionalSection)
  • Titled block (tblock)
  • Table of content (toc)
  • Legislative preface elements (legislativePreface)
  • Additional preface elements (advancedPreface)
  • Semantic inline elements (semantic)
  • Advanced references (advancedRefs)
  • Modifications (modifications)
  • Elements for publishing (publishing)
  • Special elements (specials)
  • Typographical delimiters (delimiters)
  • Embedded structures (embedded)
  • Authorial Note (authorialNote)
  • Additional generic containers (additionalGeneric)
  • Generic elements (generic)
  • Elements from HTML (html)
  • HTML table model (table)
  • Advanced metadata (advancedMetadata)

More details

The combination 'UN Debate Reports' contains the following modules:

  • Core elements (core)
  • Statement (statementDocs)
  • Components (components)
  • Collections of smaller documents (collectionDocs)
  • Amendment list (amendmentList)
  • Official Gazette (officialGazette)
  • Component: an independent portion of another document (components)
  • Legislative documents (legislativeDocs)
  • Acts (act)
  • Bills (bill)
  • Parliamentary debates and hansards (debateDocs)
  • Debate reports (debateReport)
  • Debates (debate)
  • Substructures in prefaces and preambles (prefaceSubstructures)
  • Optional hierarchy (optHierarchy)
  • Small hierarchical elements (smallHierarchy)
  • Additional hierarchy (additionalHierarchy)
  • Transitional section (transitionalSection)
  • Titled block (tblock)
  • Table of content (toc)
  • Legislative preface elements (legislativePreface)
  • Additional preface elements (advancedPreface)
  • Semantic inline elements (semantic)
  • Advanced references (advancedRefs)
  • Modifications (modifications)
  • Elements for publishing (publishing)
  • Special elements (specials)
  • Typographical delimiters (delimiters)
  • Embedded structures (embedded)
  • Authorial Note (authorialNote)
  • Additional generic containers (additionalGeneric)
  • Generic elements (generic)
  • Elements from HTML (html)
  • HTML table model (table)
  • Advanced metadata (advancedMetadata)

More details

The combination 'UN Agendas' contains the following modules:

  • Core elements (core)
  • Statement (statementDocs)
  • Components (components)
  • Collections of smaller documents (collectionDocs)
  • Amendment list (amendmentList)
  • Official Gazette (officialGazette)
  • Component: an independent portion of another document (components)
  • Legislative documents (legislativeDocs)
  • Acts (act)
  • Bills (bill)
  • Parliamentary debates and hansards (debateDocs)
  • Debate reports (debateReport)
  • Debates (debate)
  • Substructures in prefaces and preambles (prefaceSubstructures)
  • Optional hierarchy (optHierarchy)
  • Small hierarchical elements (smallHierarchy)
  • Additional hierarchy (additionalHierarchy)
  • Transitional section (transitionalSection)
  • Titled block (tblock)
  • Table of content (toc)
  • Legislative preface elements (legislativePreface)
  • Additional preface elements (advancedPreface)
  • Semantic inline elements (semantic)
  • Advanced references (advancedRefs)
  • Modifications (modifications)
  • Elements for publishing (publishing)
  • Special elements (specials)
  • Typographical delimiters (delimiters)
  • Embedded structures (embedded)
  • Authorial Note (authorialNote)
  • Additional generic containers (additionalGeneric)
  • Generic elements (generic)
  • Elements from HTML (html)
  • HTML table model (table)
  • Advanced metadata (advancedMetadata)

More details

The combination 'UN Judgments' contains the following modules:

  • Core elements (core)
  • Statement (statementDocs)
  • Components (components)
  • Collections of smaller documents (collectionDocs)
  • Component: an independent portion of another document (components)
  • Acts (act)
  • judgments (judgmentDocs)
  • Substructures in prefaces and preambles (prefaceSubstructures)
  • Optional hierarchy (optHierarchy)
  • Small hierarchical elements (smallHierarchy)
  • Additional hierarchy (additionalHierarchy)
  • Titled block (tblock)
  • Table of content (toc)
  • Additional preface elements (advancedPreface)
  • Semantic inline elements (semantic)
  • Advanced references (advancedRefs)
  • Elements for publishing (publishing)
  • Special elements (specials)
  • Typographical delimiters (delimiters)
  • Embedded structures (embedded)
  • Authorial Note (authorialNote)
  • Additional generic containers (additionalGeneric)
  • Generic elements (generic)
  • Elements from HTML (html)
  • HTML table model (table)
  • Advanced metadata (advancedMetadata)

More details

The combination 'Slovenian Acts' contains the following modules:

  • Core elements (core)
  • Components (components)
  • Component: an independent portion of another document (components)
  • Legislative documents (legislativeDocs)
  • Acts (act)
  • Bills (bill)
  • Substructures in prefaces and preambles (prefaceSubstructures)
  • Optional hierarchy (optHierarchy)
  • Small hierarchical elements (smallHierarchy)
  • Additional hierarchy (additionalHierarchy)
  • Titled block (tblock)
  • Table of content (toc)
  • Legislative preface elements (legislativePreface)
  • Additional preface elements (advancedPreface)
  • Semantic inline elements (semantic)
  • Advanced references (advancedRefs)
  • Modifications (modifications)
  • Elements for publishing (publishing)
  • Embedded structures (embedded)
  • Authorial Note (authorialNote)
  • Additional generic containers (additionalGeneric)
  • Generic elements (generic)
  • HTML table model (table)
  • Advanced metadata (advancedMetadata)

Document modules

More details

  • typical hierarchical elements of legislative documents clause, section, part, paragraph, chapter, and title

More details

  • elements for modification acts mod, mmod, rmod, quotedText and quotedStructure
  • Metadata for the analysis of modification acts: amendments and relative metadata

More details

  • legislative document act

More details

  • legislative document bill

More details

  • optional hierarchical elements article, book, tome, division and list

More details

  • hierarchical elements of smaller fragments of a hierarchy, such as point, indent, alinea, rule, subrule, proviso.

More details

  • infrequent hierarchical elements subsection, subpart, subparagraph, subchapter, subtitle, subdivision, subclause, sublist and level

More details

  • transitional, a hierarchical element containing transitory clauses, often at the end of the whole hierarchy

More details

  • Document elements debateReport and debate
  • Named structural elements administrationOfOath, declarationOfVote, communication, petitions, papers, noticesOfMotion, question, address, proceduralMotion, pointOfOrder
  • Generic structural container debateSection
  • Content elements speechGroup, speech, question, answer, other, scene
  • inline element remark for editorial remarks (e.g., applauses, laughters, etc.) and element recordedTime to explicit mention a time in a debate
  • Metadata for the analysis of debate: voting and quorum analysis

More details

  • Document type debateReport

More details

  • Document type debate

More details

  • Document type judgment
  • Structural elements introduction, background, arguments, remedies, motivation and decision
  • Preface elements courtType, neutralCitation, party and judge
  • Metadata for the analysis of judgments: judicial arguments

More details

  • Document type amendment
  • Structural elements amendmentHeading, amendmentContent, amendmentReference and amendmentJustification

More details

  • Document types amendmentList, officialGazette and documentCollection

More details

  • A document containing lists of amendments

More details

  • A document containing sequences of acts and other legislative documents

More details

  • Document type statement

Core modules

More details

  • Document element doc
  • Shared structural elements coverPage, preamble, preface, conclusions, attachments,
  • heading for structured and hierarchical elements num, heading, subheading
  • Block-context peculiar elements: blockContainer, blockList, listIntroduction, item, and listWrapUp
  • Basic Inline elements for prefaces docType, docTitle, docNumber, docProponent, and docDate.
  • Element for document signature signature
  • Simple legal reference ref
  • References to end notes noteRef
  • Basic generic container, block and inline from HTML: div, p, span and br
  • Basic metadata elements for FRBR levels: FRBRWork, FRBRExpression, FRBRManifestation, FRBRItem
  • Basic metadata elements for libraries: publication and classification
  • Basic metadata elements for ontological specification: temporalData containing timeIntervals, references, all TLC elements, notes

More details

  • Inline elements with a precise meaning: date, time, entity, person, def and defBody

More details

  • Advanced metadata specifications for specific needs: componentInfo and preservation
  • Elements for the specification of lifecycle and workflow of documents
  • Element mappings, otherReferences and definitions

More details

  • the element toc (Table of Content) is used as a container of many individual items of the toc (element tocItem) and their optional structure (elements tocNum, tocHeading and tocPointer.

More details

  • Elements introduced in HTML used here with the same meaning and purpose: b, i, u, sup, sub, a, img, ul, ol, li

More details

  • Elements for table structures taken from HTML: table, tr, th, td

More details

  • Special elements are two elements used in specific circumnstances, such as placeholder, an inline element containing the text of a computable expression (e.g., '30 days after the publication of this act') that can be replaced editorially with an actual value and fillIn, an inline element to represent (e.g., as a dotted line) the space where a person can fill in a value for a printed form, decoration, a part of the numbering of a fragment that is carrying additional functions rather than just the numberi (e.g., in Switzerland, the annotation 'new' aside of a modified fragment), and foreignText, an inline container of small, single line addition of content from a different namespace, as long as it follows the normal flow of text and does not contain multi-line content (use element foreign in this case.

More details

  • Elements components and component for the specification of parts and portions of composite documents

More details

  • Substructures such as recitals, recital, citations, citation, longTitle and formula

More details

  • The element tblock (titled block) is used to specify a container for blocks introduced by heading elements, similarly to a hierarchical structure.

More details

  • Additional Preface elements for legislative documents such as legislature, session, shortTitle.

More details

  • Additional Preface elements such as docAuthority, docPurpose, docCommittee, docIntroducer, docStage, docStatus and docJurisdiction.

More details

  • Elements for sophisticated legal references mref (multiple references) and rref (range of references)

More details

  • inline elements for the specification of publishing additions such as ins, del and omissis

More details

  • Elements for the definition of typographical delimitation of line (eol) and page (eop)

More details

  • inline and subFlow elements embeddedStructure and embeddedText for the specification of embedded parts or wholes from other documents.

More details

  • Element authorialNote for the specification of authoritative (non-editorial) notes that are out of the main flow of the text, yet are part of the official authoritative text.

More details

  • Element foreign for the inclusion of structures not expressable with Akoma Ntoso (such as SVG graphics or MathML mathematical formulas)
  • Container proprietary for the specification of metadata elements not belonging to Akoma Ntoso and presentation for the specification of presentations styles (e.g., CSS fragments) for the visual rendering of elements of the document

More details

  • Non-specific elements that can be applied to any context as long as they respect the corresponding type of content model: hcontainer, container, block, inline, marker

Heading rules

body:
clause:
allowed
allowed
allowed
allowed
section:
allowed
allowed
allowed
allowed
part:
allowed
allowed
allowed
allowed
paragraph:
allowed
allowed
allowed
allowed
chapter:
allowed
allowed
allowed
allowed
title:
allowed
allowed
allowed
allowed
book:
allowed
allowed
allowed
allowed
tome:
allowed
allowed
allowed
allowed
article:
allowed
allowed
allowed
allowed
division:
allowed
allowed
allowed
allowed
list:
allowed
allowed
allowed
allowed
point:
allowed
allowed
allowed
allowed
indent:
allowed
allowed
allowed
allowed
alinea:
allowed
allowed
allowed
allowed
rule:
allowed
allowed
allowed
allowed
subrule:
allowed
allowed
allowed
allowed
proviso:
allowed
allowed
allowed
allowed
subsection:
allowed
allowed
allowed
allowed
subpart:
allowed
allowed
allowed
allowed
subparagraph:
allowed
allowed
allowed
allowed
subchapter:
allowed
allowed
allowed
allowed
subtitle:
allowed
allowed
allowed
allowed
subdivision:
allowed
allowed
allowed
allowed
subclause:
allowed
allowed
allowed
allowed
sublist:
allowed
allowed
allowed
allowed
level:
allowed
allowed
allowed
allowed
schedule:
allowed
allowed
allowed
allowed
subschedule:
allowed
allowed
allowed
allowed
mediaContainer:
allowed
allowed
allowed
allowed
regulation:
allowed
allowed
allowed
allowed
noteSection:
allowed
allowed
allowed
allowed
annex:
allowed
allowed
allowed
allowed
appendix:
allowed
allowed
allowed
allowed
transitional:
allowed
allowed
allowed
allowed

Document rules

(module: 11_reqIds) More details

  • Make attribute eId required

(module: 11_numHeading) More details

  • Create a sequence where <num> comes before <heading>

(module: 11_headingNum) More details

  • Create a sequence where <heading> comes before <num>

(module: 11_eIdSyntax) More details

  • Assert that eId contains the name of the element

(module: 11_cm) More details

  • \nIn element $name:\n* $required are required , \n* $allowed are allowed and \n* $prohibited are prohibited. \n

(module: 11_change) More details

  • Change $struct to $value
  • Change $struct to $value

(module: 11_requireAttribute) More details

  • Assert that attribute $2 is required

(module: 11_requireContent) More details

  • Assert that element $2 is required

(module: 11_restrictName) More details

  • Assert that attribute name can only have values $2

(module: 11_restrictType) More details

  • Create type derived from $2 where attribute $3 can only have values $join

(module: 11_replaceOccurrence) More details

Custom rules

Specify here additional rules, one for each line, using the syntax
11_cm-element-rule,
where rule is composed of a list of dash-separated element names, prefixed by nothing (allowed elements), 'req' (required elements) or 'no' (prohibited elements), or wrapped within parenthesis (arbitrary xpaths).

Selected modules

The application will generate a subschema of Akoma Ntoso with the following name: Show subschema details, Show all details.

Selected modules:

The application will generate a zip package called -.zip containing an XML schema called .xsd, the file xml.xsd, and, if some additional rules have been chosen, the file 11-.xsd containing the additional rules.

Validate documents