Specification
This section describes the MaRDI file format itself. It fixes terminology, explains the overall JSON object model, documents namespaces and versioned profiles, and collects type-level encoding notes linked to concrete examples in the rosetta stone.
Core Pages
Data Types
Basics
Containers
Rings
- Finite Field Elements
- Residue Ring Elements
- ZZRingElem (
OSCAR v1.0-v1.5) - ZZRingElem (
OSCAR v1.6-v1.8) - Rational Numbers (
OSCAR v1.0-v1.5) - Rational Numbers (
OSCAR v1.6-v1.8) - Univariate Polynomial
- Multivariate Polynomial
Linear Algebra
Groups
- Finitely Presented Groups (
OSCAR v1.0) - Finitely Presented Groups (
OSCAR v1.1-v1.3) - Finitely Presented Groups (
OSCAR v1.4-v1.8) - Elements of Finitely Presented Groups (
OSCAR v1.0) - Elements of Finitely Presented Groups (
OSCAR v1.1-v1.3) - Elements of Finitely Presented Groups (
OSCAR v1.4-v1.8) - Finitely Generated Abelian Groups
- Elements of Finitely Generated Abelian Groups
- Homomorphisms of Finitely Generated Abelian Groups
- Matrix Groups (
OSCAR v1.5-v1.6) - Matrix Groups (
OSCAR v1.7-v1.8) - Matrix Group Elements (
OSCAR v1.5-v1.6) - Matrix Group Elements (
OSCAR v1.7-v1.8) - Pc Groups (
OSCAR v1.0) - Pc Groups (
OSCAR v1.1-v1.3) - Pc Groups (
OSCAR v1.4-v1.8) - Pc Group Elements (
OSCAR v1.0) - Pc Group Elements (
OSCAR v1.1-v1.3) - Pc Group Elements (
OSCAR v1.4-v1.8) - Permutation Groups (
OSCAR v1.0-v1.1) - Permutation Groups (
OSCAR v1.2-v1.3) - Permutation Groups (
OSCAR v1.4-v1.5) - Permutation Groups (
OSCAR v1.6-v1.8) - Permutation Group Elements (
OSCAR v1.0-v1.1) - Permutation Group Elements (
OSCAR v1.2-v1.3) - Permutation Group Elements (
OSCAR v1.4-v1.5) - Permutation Group Elements (
OSCAR v1.6-v1.8) - Subgroups of Finitely Presented Groups (
OSCAR v1.1-v1.3) - Subgroups of Finitely Presented Groups (
OSCAR v1.4-v1.8) - Elements of Subgroups of Finitely Presented Groups (
OSCAR v1.1-v1.3) - Elements of Subgroups of Finitely Presented Groups (
OSCAR v1.4-v1.8) - Subgroups of Pc Groups (
OSCAR v1.1-v1.3) - Subgroups of Pc Groups (
OSCAR v1.4-v1.8) - Elements of Subgroups of Pc Groups (
OSCAR v1.1-v1.3) - Elements of Subgroups of Pc Groups (
OSCAR v1.4-v1.8)
Lie Theory
- Root Systems
- Root Space Elements
- Dual Root Space Elements
- Weight Lattices (
OSCAR v1.3) - Weight Lattices (
OSCAR v1.4-v1.8) - Weight Lattice Elements (
OSCAR v1.3) - Weight Lattice Elements (
OSCAR v1.4-v1.8) - Weyl Groups (
OSCAR v1.2-v1.3) - Weyl Groups (
OSCAR v1.4-v1.8) - Weyl Group Elements (
OSCAR v1.2) - Weyl Group Elements (
OSCAR v1.3) - Weyl Group Elements (
OSCAR v1.4-v1.8)
Polyhedral Geometry
- Cones
- Undirected Graphs
- Linear Programs
- Mixed-Integer Linear Programs
- Matroids
- Polyhedra
- Polyhedral Fans
- Polyhedral Complexes
- Simplicial Complexes
- Phylogenetic Trees (
OSCAR v1.0-v1.5) - Subdivisions of Points
- Phylogenetic Trees (
OSCAR v1.6-v1.8)
Schema Basis
The current schema basis used by this prototype is reproduced below from paper/data.json, which in turn reflects the JSON Schema discussion from the paper.
{
"$id": "https://oscar-system.org/schemas/mrdi.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"required": ["_type"],
"properties": {
"_ns": {"type": "object"},
"_type": {
"oneOf": [
{"type": "string"},
{
"type": "object",
"properties": {"name": {"type": "string"}, "params": {"$ref": "#/$defs/data"}}
}
]
},
"data": {"$ref": "#/$defs/data"},
"_refs": {
"type": "object",
"patternProperties": {"^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$": {"$ref": "#"}}
}
},
"$defs": {
"data": {
"oneOf": [
{"type": "string"},
{"type": "array", "items": {"$ref": "#/$defs/data"}},
{
"type": "object",
"not": {"required": ["_ns"]},
"patternProperties": {"^[a-zA-Z0-9_]*": {"$ref": "#/$defs/data"}}
},
{"$ref": "https://polymake.org/schemas/data.json"}
]
}
}
}