Repository navigation
Description
Summary
Core describes isoTime as a timezone-free clock time, but the emitted format: time is read by ajv-formats as RFC 3339 full-time with a required timezone. Strict validation rejects Core's own documented 17:00:00 example.
This was recorded in #1218 and reproduced while implementing Python award models, PR #1316. That PR's independent schema gate explicitly requires the plain-time fixture to fail strict validation and pass a second, source-aligned time-format validator. This issue owns resolving that discrepancy and retiring the special case. #1218 continues to own the broader TypeScript parity-test expansion.
Keep the current documented plain-clock-time semantics unless a separate protocol decision explicitly changes them. Resolve the generated-schema/validator representation rather than disabling format validation globally. The appropriate encoding or validator configuration should be established during implementation.
Relevant paths: Core's isoTime definition, emitted isoTime.yaml, Python SDK scripts/check-award-fixtures.mjs, tests/schemas/award_fixtures.py, and schema documentation. The Python gate currently uses expect: "plain-time" and a second AJV instance with a replacement time format. This is existing upstream contract/tooling debt, not a dependency on the Python release, so work can begin independently.
Acceptance criteria
- Regression coverage reproduces the current disagreement and establishes consistent expected results for documented clock times, fractional seconds, invalid times, and timezone-bearing inputs under Core's declared semantics.
- The emitted schema and supported strict validation tooling agree with the documented
isoTimecontract and its examples without globally disabling format checks. - The Python award schema gate no longer requires a deliberate strict-validation failure followed by a source-aligned second pass for plain-time fixtures. Replace that workaround with the corrected contract check and retain negative controls.
- Relevant source/generated documentation and fixture expectations are synchronized, and the affected schema gates pass.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsTodo
Activity
feat(py-sdk)!: add Core v0.5 award models and route contracts (#1316)
feat(py-sdk)!: align opportunity identifiers and funders with Core v0…