36 lines
2.3 KiB
XML
36 lines
2.3 KiB
XML
<templateSet group="JSON">
|
|
<template name="prop" value=""$PROPNAME$": {"type": "$TYPE$"}," description="Schema Property" toReformat="false" toShortenFQNames="true">
|
|
<variable name="PROPNAME" expression="" defaultValue="" alwaysStopAt="true" />
|
|
<variable name="TYPE" expression="suggest" defaultValue=""string"" alwaysStopAt="true" />
|
|
<context>
|
|
<option name="JSON" value="true" />
|
|
</context>
|
|
</template>
|
|
<template name="props" value=""$PROPNAME$": {"type": "$TYPE$"}," description="Schema Property" toReformat="false" toShortenFQNames="true">
|
|
<variable name="PROPNAME" expression="" defaultValue="" alwaysStopAt="true" />
|
|
<variable name="TYPE" expression="suggest" defaultValue=""string"" alwaysStopAt="true" />
|
|
<context>
|
|
<option name="JSON" value="true" />
|
|
</context>
|
|
</template>
|
|
<template name="propn" value=""$PROPNAME$": {"type": "$TYPE$"}," description="Schema Property" toReformat="false" toShortenFQNames="true">
|
|
<variable name="PROPNAME" expression="" defaultValue="" alwaysStopAt="true" />
|
|
<variable name="TYPE" expression="suggest" defaultValue=""number"" alwaysStopAt="true" />
|
|
<context>
|
|
<option name="JSON" value="true" />
|
|
</context>
|
|
</template>
|
|
<template name="propb" value=""$PROPNAME$": {"type": "$TYPE$"}," description="Schema Property" toReformat="false" toShortenFQNames="true">
|
|
<variable name="PROPNAME" expression="" defaultValue="" alwaysStopAt="true" />
|
|
<variable name="TYPE" expression="suggest" defaultValue=""boolean"" alwaysStopAt="true" />
|
|
<context>
|
|
<option name="JSON" value="true" />
|
|
</context>
|
|
</template>
|
|
<template name="schema" value="{ "title": "$TITLE$", "type": "object", "properties": { $END$ }, "additionalProperties": false, "require": [] }" description="Empty JSON Schema" toReformat="false" toShortenFQNames="true">
|
|
<variable name="TITLE" expression="" defaultValue="" alwaysStopAt="true" />
|
|
<context>
|
|
<option name="JSON" value="true" />
|
|
</context>
|
|
</template>
|
|
</templateSet> |