Public declaration syntax from forge-go/core/schema.go Original source SHA-256: dc71d95b3d08f051558fe5fd16e3503c3403ca84234f61daf6923555cb9b45fe Function bodies and constant values are omitted. This is not the complete implementation. Source line 11 type SchemaType string const ( SchemaTypeString SchemaType; Source line 31 type JsonSchema struct Source line 78 func ObjectSchema(description string, properties map[string]*JsonSchema, required []string) *JsonSchema Source line 88 func StringSchema(description string) *JsonSchema Source line 96 func NumberSchema(description string) *JsonSchema Source line 104 func IntegerSchema(description string) *JsonSchema Source line 112 func BooleanSchema(description string) *JsonSchema Source line 120 func ArraySchema(description string, items *JsonSchema) *JsonSchema Source line 129 func NullSchema(description string) *JsonSchema Source line 137 func (s *JsonSchema) WithMinLength(n int) *JsonSchema Source line 143 func (s *JsonSchema) WithMaxLength(n int) *JsonSchema Source line 149 func (s *JsonSchema) WithMinimum(v float64) *JsonSchema Source line 155 func (s *JsonSchema) WithMaximum(v float64) *JsonSchema Source line 161 func (s *JsonSchema) WithMinItems(n int) *JsonSchema Source line 167 func (s *JsonSchema) WithMaxItems(n int) *JsonSchema Source line 173 func (s *JsonSchema) WithEnum(values ...any) *JsonSchema Source line 179 func (s *JsonSchema) WithDefault(v any) *JsonSchema Source line 185 func (s *JsonSchema) WithNoAdditionalProperties() *JsonSchema Source line 196 func (s *JsonSchema) Validate(value any, path string) error Source line 236 func (s *JsonSchema) ValidateJSON(data []byte) error