Skip to content

Step 1: FCPTime and unused value types #6

Description

@leogdion

What to build

Introduce the shared attribute-value machinery and strong types (FCPTime, bools, DTD enums, resource id/ref types) with unit tests only — nothing in the Codable model references them yet.

Acceptance criteria

  • FCPTime round-trips fixture forms byte-identically (5s, 0s, 1001/30000s, 22800/2400s) and rejects illegal strings
  • Equality ignores rendering form; arithmetic is exact and does not emit decimal seconds
  • Bool / enum / id types encode as single-value strings compatible with existing XMLCoder node encoding
  • Unknown enum values can pass through on decode; strict mode is defined and tested (even if unused by the model yet)
  • No production call sites migrate onto these types in this ticket
  • swift test and schema-completeness at 0 remain green

Blocked by

References

  • Plan: docs/planning/v0.1.0-first-working-version.md
  • ADR: docs/adr/0002-create-first-ordered-typed-model.md
  • Worktrees: docs/planning/v0.1.0-worktree-plan.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified, ready for an AFK agentv0.1.0FCPKit v0.1.0 milestone work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions