openapi: "3.0.3"
info:
  title: "Specification validation fixture"
  version: "1.0.0"
  description: "A single row table is enough here, because the page is about validating the spec rather than seeding it. The source_hash is what a CI job compares to decide whether the seed has to be regenerated. The openapi_version column is free text because the field accepts 3.0.x, 3.1.x and 2.0. The checked_at timestamp is what the freshness line on the page reports."
paths: {}
x-domain-id: "tut_specs"
x-dialect: "postgres"
components:
  schemas:
    specs:
      type: "object"
      x-primary-key: "id"
      required: ["id", "name", "openapi_version", "source_hash", "checked_at"]
      properties:
        id:
          type: "string"
          format: "uuid"
        name:
          type: "string"
          x-unique: true
        openapi_version:
          type: "string"
        source_hash:
          type: "string"
        checked_at:
          type: "string"
          format: "date-time"
