← API reference
CANONICAL TYPE REFERENCE

IaCSchemaDocumentPayload

A schema or Lua testing contract document and the hash that pins it

documentString!

A JSON Schema (draft 2020-12) or Lua testing contract as text. Unknown references return an error.

etagString!

Strong ETag over the document, in HTTP form. Pin this in a lockfile to detect change.

View exact SDL
"""A schema or Lua testing contract document and the hash that pins it"""
type IaCSchemaDocumentPayload {
  """
  A JSON Schema (draft 2020-12) or Lua testing contract as text. Unknown references return an error.
  """
  document: String!
  """
  Strong ETag over the document, in HTTP form. Pin this in a lockfile to detect change.
  """
  etag: String!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.