SchemaSpec

The schema's content. SignStack schemas wrap a JSON Schema definition with versioning, identity, and lifecycle on top.

  • jsonSchemaDraft declares which JSON Schema specification draft the body conforms to.
  • schemaDefinition is the raw JSON Schema body (properties, types, constraints, refs).

Used by blueprint/template inputs to declare the shape of entity data the caller must supply.

  • jsonSchemaDraft
    Type: stringenum
    required

    Which JSON Schema specification draft the schemaDefinition body conforms to. Newer drafts have richer features; older drafts are widely supported.

    values
    • 2020-12
    • 2019-09
    • draft-07
    • draft-06
    • draft-04
  • schemaDefinition
    Type: object
    required

    The JSON Schema body — properties, types, validation constraints, refs. Validated against the declared jsonSchemaDraft on every write.

    • propertyName
      Type: anything