s() API
Signature, field, schema, and validation APIs.
Most Used
Ax.s
Parse an Ax string signature into the target language signature object.
| Field | Value |
|---|---|
| Kind | function |
| Ax concept | s |
| API section | Signatures |
| Form | Ax.s(String signature) |
| Returns | AxSignature |
Examples
AxSignature sig = Ax.s("question:string -> answer:string");Ax.f
Build signatures and field types fluently when the target has a fluent helper.
| Field | Value |
|---|---|
| Kind | function |
| Ax concept | f |
| API section | Signatures |
| Form | Ax.f().input(...).output(...) |
| Returns | signature builder or field factory |
Important Options
input fieldsoutput fieldsfield descriptionsconstraints
AxSignature
Parsed signature with input/output fields, descriptions, and JSON schema helpers.
| Field | Value |
|---|---|
| Kind | type |
| Ax concept | AxSignature |
| API section | Signatures |
| Form | AxSignature |
| Returns | signature object |
Important Options
inputsoutputsdescription
Full Reference
Open the full Java reference. This page highlights the s symbols most relevant to everyday use.