{
  "$format": "RUML",
  "$specVersion": "1.0",
  "metadata": {
    "id": "e59f9fa3-5804-467b-8217-7123542a3699",
    "version": "0.1.0",
    "created": "2026-11-27T00:00:00-05:00",
    "modified": "2026-11-27T00:00:00-05:00",
    "status": "draft",
    "documentType": "decision",
    "title": "Law Reform (Age of Majority) Act · Section 3(1)",
    "description": "Use age in completed years after the appointed day. Other statutory age limits and transitional claims require separate review.",
    "organization": "Caribbean AI Association",
    "jurisdiction": "JM",
    "language": "en"
  },
  "capabilities": [
    {
      "id": "ruml:datapoints",
      "payload": {
        "data": {
          "age_years": {
            "name": "Age in completed years",
            "type": "integer",
            "binding": {
              "type": "input"
            }
          },
          "after_appointed_day": {
            "name": "Within post-commencement scope",
            "type": "boolean",
            "binding": {
              "type": "input"
            }
          }
        }
      }
    },
    {
      "id": "ruml:query",
      "required": true
    },
    {
      "id": "ruml:text-reference",
      "payload": {
        "data": {
          "text_statute": {
            "title": "Law Reform (Age of Majority) Act · Section 3(1)",
            "uri": "https://ecc.gov.jm/www/wp-content/uploads/2026/09/The-Law-Reform-Age-of-Majority-Act-1979.pdf",
            "url": "https://ecc.gov.jm/www/wp-content/uploads/2026/09/The-Law-Reform-Age-of-Majority-Act-1979.pdf",
            "type": "url",
            "status": "enacted",
            "timestamp": "2026-11-27T00:00:00-05:00",
            "language": "en"
          }
        }
      }
    }
  ],
  "rulemap": {
    "nodes": {
      "1": {
        "id": "d245554d-ba15-4b93-b093-e572c4038979",
        "label": "Tests the age threshold for reaching the age of majority.",
        "capabilities": [
          {
            "id": "ruml:query",
            "payload": {
              "expression": "(($type(age_years) = \"number\" and age_years >= 0 and $floor(age_years) = age_years) and after_appointed_day = true) ? (age_years >= 18) : null"
            }
          },
          {
            "id": "ruml:text-reference",
            "payload": {
              "refs": [
                {
                  "id": "text_statute",
                  "type": "represents"
                }
              ]
            }
          }
        ]
      }
    }
  }
}
