> For the complete documentation index, see [llms.txt](https://fivesobes.gitbook.io/cherry3/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fivesobes.gitbook.io/cherry3/operators/schemainfo.md).

# schemaInfo()

**Example**

```javascript
import { Model, Schema, Types } from 'cherry3';

const schema = Schema({
name: String,
surname: Types.String,
age: Types.Number,
classNumber: Number,
achievements: { type: Array, default: [] },
closeFriends: Object
});

const model = new Model('classList',schema)

(async() => {

var result = await model.schemaInfo();
console.log(result)
/*
{
name: [Function: String],
surname: "String",
age: "Number",
classNumber: [Function: Number],
achievements: { type: [Function: Array], default: [] },
closeFriends: [Function: Object]
}
*/

})();

```
