{
  "id": "school_year",
  "kind": "datatype",
  "status": "draft",
  "name": "School or academic year",
  "doc": "School or academic year that starts in one calendar year and ends in the next, written as the two years: 2025/26, 2025-2026 or 202526 (the Italian anno scolastico).",
  "parent": "year_range",
  "is_pii": false,
  "categories": [
    "education",
    "datetime"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^\\d{4}(?:\\d{2}|[/-]\\d{2}|[/-]\\d{4})$",
  "examples": [
    {
      "value": "2025/26",
      "valid": true
    },
    {
      "value": "2025-2026",
      "valid": true
    },
    {
      "value": "202526",
      "description": "Anno scolastico 2025/26",
      "valid": true
    },
    {
      "value": "2025",
      "description": "One year: year",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Academic_year"
    }
  ],
  "translations": {
    "it": {
      "name": "Anno scolastico"
    },
    "de": {
      "name": "Schuljahr"
    },
    "ru": {
      "name": "Учебный год"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "schoolyearbyfield",
        "type": "field",
        "match": "regex",
        "file": "common/dateandtime.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/education/school_year.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/education/school_year.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/education/school_year.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/school_year",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/school_year.json"
  }
}