--- type: "datatype" title: "positiveInt" datatype: "positiveInt" --- # positiveInt - [Datatypes](/datatypes) - [Definitions](/datatypes-definitions#positiveInt) - [Examples](/datatypes-examples#positiveInt) - [Mappings](/datatypes-mappings#positiveInt) - [Profiles](/datatypes-profiles#positiveInt) ## Primitive Details - **Definition**: An integer with a value that is positive (e.g. >0) - **XML Schema/Base**: `xs:positiveInteger` - **JSON Type**: `number` - **Regex**: `[1-9][0-9]*`