{
  "rulesetId": "okham.validation.ruleset.fields.memory",
  "version": "0.1.0",
  "description": "Native field records use existing runtime type_schema and OTC resolution.",
  "rules": [
    {
      "ruleId": "okham.validation.ruleset.fields.memory.fields",
      "severity": "error",
      "scope": "note",
      "selector": {
        "documentKind": "note",
        "globs": [
          "note/*.json"
        ]
      },
      "assert": "memory.field_validation",
      "params": {
        "check": "FIELD-TYPE"
      },
      "message": "Raw value or OTC definition violates its resolved field contract."
    }
  ],
  "metadata": {
    "namespace": "okham.validation",
    "normative": {
      "typeRef": "okham.standards.type.normative.profile",
      "standard": "BCP14",
      "requirements": []
    }
  }
}
