hyf

Context-aware query service for Radroots
git clone https://radroots.dev/git/hyf.git
Log | Files | Refs | README | LICENSE

temporal.schema.json (1287B)


      1 {
      2   "$comment": "Source-anchored temporal semantics; byte-offset evidence convention; no model arithmetic",
      3   "type": "object",
      4   "properties": {
      5     "kind": {
      6       "type": "string",
      7       "enum": [
      8         "timestamp",
      9         "date_only",
     10         "window",
     11         "relative"
     12       ]
     13     },
     14     "expression": {
     15       "type": [
     16         "string",
     17         "null"
     18       ]
     19     },
     20     "reference_time": {
     21       "type": [
     22         "string",
     23         "null"
     24       ]
     25     },
     26     "timezone": {
     27       "type": [
     28         "string",
     29         "null"
     30       ]
     31     },
     32     "resolution": {
     33       "type": "string",
     34       "enum": [
     35         "resolved",
     36         "unresolved"
     37       ]
     38     },
     39     "start": {
     40       "type": [
     41         "string",
     42         "null"
     43       ]
     44     },
     45     "end": {
     46       "type": [
     47         "string",
     48         "null"
     49       ]
     50     },
     51     "boundary": {
     52       "type": [
     53         "string",
     54         "null"
     55       ],
     56       "enum": [
     57         "inclusive",
     58         "exclusive",
     59         null
     60       ]
     61     },
     62     "ambiguity": {
     63       "type": [
     64         "string",
     65         "null"
     66       ],
     67       "enum": [
     68         "none",
     69         "ambiguous_local",
     70         "missing_zone",
     71         "nonexistent_local",
     72         null
     73       ]
     74     }
     75   },
     76   "required": [
     77     "kind",
     78     "resolution"
     79   ],
     80   "additionalProperties": false
     81 }