openapi: "3.0.3"
info:
  title: "Data library determinism fixture"
  version: "1.0.0"
  description: "The hex check constraint is a deterministic, observable difference between two libraries. The email uniqueness means a reseed changes the row set, which is exactly what the comparison measures. The avatar_color column has no semantic meaning, so the comparison is purely about determinism. A schema-driven tool never varies these columns at all, which is the honest result of the comparison."
paths: {}
x-domain-id: "cmp_fakerlibs"
x-dialect: "postgres"
components:
  schemas:
    people:
      type: "object"
      x-primary-key: "id"
      required: ["id", "full_name", "email", "city", "avatar_color"]
      properties:
        id:
          type: "string"
          format: "uuid"
        full_name:
          type: "string"
        email:
          type: "string"
          format: "email"
          x-unique: true
        city:
          type: "string"
        avatar_color:
          type: "string"
          pattern: "^[0-9a-fA-F]{6}$"
