property | type | documentation |
---|---|---|
$defs | DefsSchema | Extra definitions, might be included via use or extend |
record | ModelDataTypeModelValidator | Main record |
settings | SettingsSchema | General settings, applies to all generated sources |
version | String | Model version, default value 1.0.0 |
property | type | documentation |
---|---|---|
api-blueprint | BlueprintSchema | API blueprint details |
config | ConfigSchema | Application config details |
enum | Array of Raw | A list of possible values |
ext | ExtSchema | Application extension details |
extend | String | |
json-schema-settings | JSONSchema | JSON Schema section of the model. Properties will be generated automatically |
json-serializer | JSONSerializerSchema | |
mapping-settings | ModelMappingSchema | Mapping definition |
marshmallow | ModelMarshmallowSchema | |
model-name | String | Name of the model, will be used as module name if no module is specified |
module | ModuleSchema | Model module details |
permissions | ModelPermissionsSchema | Permissions settings |
pid | PIDSchema | PID settings |
properties | ObjectPropertiesField | |
proxy | ProxySchema | Settings for service proxy |
record | RecordClassSchema | api/Record settings |
record-dumper | RecordDumperClassSchema | Settings for record dumper |
record-metadata | RecordMetadataClassSchema | Record metadata settings |
required | Boolean | |
resource | ResourceClassSchema | Resource class settings |
resource-config | ResourceConfigClassSchema | Resource config class settings |
sample | SampleSchema | Settings for sample document generator |
saved-model | SavedModelSchema | |
searchable | Boolean | Will the mapping/indexing be generated on model? (can be overriden on individual properties) |
service | ServiceClassSchema | Service settings |
service-config | ServiceConfigClassSchema | Service config settings |
type | String | |
ui | ModelUISchema | UI settings |
use | String |
property | type | documentation |
---|---|---|
alias | String | Alias under which jsonschema is referenced in setup.cfg |
file | String | Path to schema file |
generate | Boolean | Generate json schema (default is true) |
module | String | Schema module |
name | String | Schema name |
template | PermissiveSchema | Template that will be merged with the schema |
version | String | Schema version |
property | type | documentation |
---|---|---|
extend | String | |
use | String |
property | type | documentation |
---|---|---|
alias | String | Index alias, under which the mapping is registered in setup.cfg |
file | String | Path to index file |
generate | Boolean | Generate mapping (default is true) |
index | String | Index name |
module | String | Module with mapping definition |
template | PermissiveSchema | Mapping template, merged with generated mapping |
property | type | documentation |
---|---|---|
array | ArrayDataTypeModelValidator | |
boolean | BooleanDataTypeModelValidator | |
date | DateDataTypeModelValidator | |
datetime | DateTimeDataTypeModelValidator | |
double | DoubleDataTypeModelValidator | |
edtf-interval | EDTFIntervalTypeModelValidator | |
edtf | EDTFDataTypeModelValidator | |
flattened | FlattenDataTypeModelValidator | |
float | FloatDataTypeModelValidator | |
fulltext+keyword | FulltextKeywordDataTypeModelValidator | |
fulltext | FulltextDataTypeModelValidator | |
integer | IntegerDataTypeModelValidator | |
keyword | KeywordDataTypeModelValidator | |
model | ModelDataTypeModelValidator | |
nested | NestedDataTypeModelValidator | |
object | ObjectDataTypeModelValidator | |
time | TimeDataTypeModelValidator | |
url | URLDataTypeModelValidator |
property | type | documentation |
---|---|---|
enum | Array of Raw | A list of possible values |
exclusiveMaximum | Integer | |
exclusiveMinimum | Integer | |
facets | FacetsSchema | |
jsonschema | PermissiveSchema | |
mapping | PermissiveSchema | |
marshmallow | PropertyMarshmallowSchema | |
maximum | Integer | |
minimum | Integer | |
required | Boolean | |
sample | SampleSchema | |
type | String | |
ui | PropertyUISchema |
property | type | documentation |
---|---|---|
extend | String | |
marshmallow | PropertyMarshmallowSchema | UI marshmallow |
use | String |
property | type | documentation |
---|---|---|
arguments | Array of String | |
extend | String | |
field | String | |
field-class | String | |
field-name | String | |
imports | Array of ImportSchema | |
read | Boolean | |
use | String | |
validators | Array of String | |
write | Boolean |
property | type | documentation |
---|---|---|
alias | String | |
extend | String | |
import | String | |
use | String |
property | type | documentation |
---|---|---|
extend | String | |
faker | String | The faker to use for generating the sample |
params | Raw | Params for the faker |
skip | Boolean | Set true to skip generating sample for the field |
use | String |
property | type | documentation |
---|---|---|
searchable | Boolean | True if the field is rendered into a facet |
property | type | documentation |
---|---|---|
enum | Array of Raw | A list of possible values |
exclusiveMaximum | Float | |
exclusiveMinimum | Float | |
facets | FacetsSchema | |
jsonschema | PermissiveSchema | |
mapping | PermissiveSchema | |
marshmallow | PropertyMarshmallowSchema | |
maximum | Float | |
minimum | Float | |
required | Boolean | |
sample | SampleSchema | |
type | String | |
ui | PropertyUISchema |
property | type | documentation |
---|---|---|
enum | Array of Raw | A list of possible values |
exclusiveMaximum | Float | |
exclusiveMinimum | Float | |
facets | FacetsSchema | |
jsonschema | PermissiveSchema | |
mapping | PermissiveSchema | |
marshmallow | PropertyMarshmallowSchema | |
maximum | Float | |
minimum | Float | |
required | Boolean | |
sample | SampleSchema | |
type | String | |
ui | PropertyUISchema |
property | type | documentation |
---|---|---|
enum | Array of Raw | A list of possible values |
facets | FacetsSchema | |
jsonschema | PermissiveSchema | |
mapping | PermissiveSchema | |
marshmallow | PropertyMarshmallowSchema | |
required | Boolean | |
sample | SampleSchema | |
type | String | |
ui | PropertyUISchema |
property | type | documentation |
---|---|---|
enum | Array of Raw | A list of possible values |
facets | FacetsSchema | |
jsonschema | PermissiveSchema | |
mapping | PermissiveSchema | |
marshmallow | PropertyMarshmallowSchema | |
required | Boolean | |
sample | SampleSchema | |
type | String | |
ui | PropertyUISchema |
property | type | documentation |
---|---|---|
enum | Array of Raw | A list of possible values |
facets | FacetsSchema | |
jsonschema | PermissiveSchema | |
mapping | PermissiveSchema | |
marshmallow | PropertyMarshmallowSchema | |
required | Boolean | |
sample | SampleSchema | |
type | String | |
ui | PropertyUISchema |
property | type | documentation |
---|---|---|
enum | Array of Raw | A list of possible values |
facets | FacetsSchema | |
jsonschema | PermissiveSchema | |
mapping | PermissiveSchema | |
marshmallow | PropertyMarshmallowSchema | |
required | Boolean | |
sample | SampleSchema | |
type | String | |
ui | PropertyUISchema |
property | type | documentation |
---|---|---|
enum | Array of Raw | A list of possible values |
facets | FacetsSchema | |
jsonschema | PermissiveSchema | |
mapping | PermissiveSchema | |
marshmallow | PropertyMarshmallowSchema | |
required | Boolean | |
sample | SampleSchema | |
type | String | |
ui | PropertyUISchema |
property | type | documentation |
---|---|---|
enum | Array of Raw | A list of possible values |
facets | FacetsSchema | |
jsonschema | PermissiveSchema | |
mapping | PermissiveSchema | |
marshmallow | PropertyMarshmallowSchema | |
required | Boolean | |
sample | SampleSchema | |
type | String | |
ui | PropertyUISchema |
property | type | documentation |
---|---|---|
enum | Array of Raw | A list of possible values |
facets | FacetsSchema | |
jsonschema | PermissiveSchema | |
mapping | PermissiveSchema | |
marshmallow | PropertyMarshmallowSchema | |
maxLength | Integer | |
minLength | Integer | |
regex | String | |
required | Boolean | |
sample | SampleSchema | |
type | String | |
ui | PropertyUISchema |
property | type | documentation |
---|---|---|
enum | Array of Raw | A list of possible values |
facets | FacetsSchema | |
jsonschema | PermissiveSchema | |
mapping | PermissiveSchema | |
marshmallow | PropertyMarshmallowSchema | |
maxLength | Integer | |
minLength | Integer | |
regex | String | |
required | Boolean | |
sample | SampleSchema | |
type | String | |
ui | PropertyUISchema |
property | type | documentation |
---|---|---|
enum | Array of Raw | A list of possible values |
facets | FacetsSchema | |
jsonschema | PermissiveSchema | |
mapping | PermissiveSchema | |
marshmallow | PropertyMarshmallowSchema | |
maxLength | Integer | |
minLength | Integer | |
regex | String | |
required | Boolean | |
sample | SampleSchema | |
type | String | |
ui | PropertyUISchema |
property | type | documentation |
---|---|---|
enum | Array of Raw | A list of possible values |
facets | FacetsSchema | |
jsonschema | PermissiveSchema | |
mapping | PermissiveSchema | |
marshmallow | ObjectMarshmallowSchema | |
properties | ObjectPropertiesField | |
required | Boolean | |
sample | SampleSchema | |
type | String | |
ui | ObjectUISchema |
property | type | documentation |
---|---|---|
* | FieldSchema | None |
property | type | documentation |
---|---|---|
extend | String | |
marshmallow | ObjectMarshmallowSchema | |
use | String |
property | type | documentation |
---|---|---|
arguments | Array of String | |
base-classes | Array of String | List of marshmallow base classes |
class | String | The name of the marshmallow class |
extend | String | |
extra-fields | Array of ExtraField | Extra fields to generate into the marhsmallow class |
field | String | |
field-class | String | |
field-name | String | |
generate | Boolean | Generate the marshmallow class (default is true) |
imports | Array of ImportSchema | |
module | String | Class module |
read | Boolean | |
use | String | |
validators | Array of String | |
write | Boolean |
property | type | documentation |
---|---|---|
name | String | Name (lhs) of the field |
value | String | Literal definition (rhs) of the field |
property | type | documentation |
---|---|---|
enum | Array of Raw | A list of possible values |
facets | FacetsSchema | |
jsonschema | PermissiveSchema | |
mapping | PermissiveSchema | |
marshmallow | ObjectMarshmallowSchema | |
properties | ObjectPropertiesField | |
required | Boolean | |
sample | SampleSchema | |
type | String | |
ui | ObjectUISchema |
property | type | documentation |
---|---|---|
enum | Array of Raw | A list of possible values |
facets | FacetsSchema | |
jsonschema | PermissiveSchema | |
mapping | PermissiveSchema | |
marshmallow | PropertyMarshmallowSchema | |
required | Boolean | |
sample | SampleSchema | |
type | String | |
ui | PropertyUISchema |
property | type | documentation |
---|---|---|
enum | Array of Raw | A list of possible values |
extend | String | |
facets | FacetsSchema | |
items | FieldSchema | |
jsonschema | PermissiveSchema | |
mapping | PermissiveSchema | |
marshmallow | PropertyMarshmallowSchema | |
maxItems | Integer | |
minItems | Integer | |
required | Boolean | |
sample | ArraySampleSchema | |
type | String | |
ui | PropertyUISchema | |
uniqueItems | Boolean | |
use | String |
property | type | documentation |
---|---|---|
count | Integer | |
extend | String | |
use | String |
property | type | documentation |
---|---|---|
enum | Array of Raw | A list of possible values |
facets | FacetsSchema | |
jsonschema | PermissiveSchema | |
mapping | PermissiveSchema | |
marshmallow | PropertyMarshmallowSchema | |
maxLength | Integer | |
minLength | Integer | |
regex | String | |
required | Boolean | |
sample | SampleSchema | |
type | String | |
ui | PropertyUISchema |
property | type | documentation |
---|---|---|
api-blueprint | BlueprintSchema | API blueprint details |
config | ConfigSchema | Application config details |
enum | Array of Raw | A list of possible values |
ext | ExtSchema | Application extension details |
extend | String | |
json-schema-settings | JSONSchema | JSON Schema section of the model. Properties will be generated automatically |
json-serializer | JSONSerializerSchema | |
mapping-settings | ModelMappingSchema | Mapping definition |
marshmallow | ModelMarshmallowSchema | |
model-name | String | Name of the model, will be used as module name if no module is specified |
module | ModuleSchema | Model module details |
permissions | ModelPermissionsSchema | Permissions settings |
pid | PIDSchema | PID settings |
properties | ObjectPropertiesField | |
proxy | ProxySchema | Settings for service proxy |
record | RecordClassSchema | api/Record settings |
record-dumper | RecordDumperClassSchema | Settings for record dumper |
record-metadata | RecordMetadataClassSchema | Record metadata settings |
required | Boolean | |
resource | ResourceClassSchema | Resource class settings |
resource-config | ResourceConfigClassSchema | Resource config class settings |
sample | SampleSchema | Settings for sample document generator |
saved-model | SavedModelSchema | |
searchable | Boolean | Will the mapping/indexing be generated on model? (can be overriden on individual properties) |
service | ServiceClassSchema | Service settings |
service-config | ServiceConfigClassSchema | Service config settings |
type | String | |
ui | ModelUISchema | UI settings |
use | String |
property | type | documentation |
---|---|---|
base-classes | Array of String | Base classes for the generated permission class |
class | String | Qualified name of the generated class |
extra-code | String | Extra code to be copied below the permission class |
generate | Boolean | Set to true to generate the permissions class |
imports | Array of ImportSchema | List of python imports |
module | String | Module where the permissions will be placed |
presets | Array of String | A list of presets that will be merged with the permissions class. |
property | type | documentation |
---|---|---|
base-classes | Array of String | List of marshmallow base classes |
class | String | The name of the marshmallow class |
extra-code | String | Extra code to be merged to marshmallow file |
extra-fields | Array of ExtraField | Extra fields to generate into the marhsmallow class |
generate | Boolean | Generate the marshmallow class (default is true) |
imports | Array of ImportSchema | Python imports that will be put to marshmallow file |
module | String | Class module |
property | type | documentation |
---|---|---|
marshmallow | ModelMarshmallowSchema |
property | type | documentation |
---|---|---|
base-classes | Array of String | List of base classes |
class | String | UI serializer class qualified name |
extra-code | String | Extra code to be put below the generated ui serializer class |
imports | Array of ImportSchema | List of python imports |
module | String | UI serializer class module |
property | type | documentation |
---|---|---|
base-classes | Array of String | List of base classes |
class | String | Qualified name of the service class |
config_key | String | Key under which actual service class is registered in config |
extra-code | String | Extra code to be put below the generated service class |
generate | Boolean | Generate service class (default) |
imports | Array of ImportSchema | List of python imports |
module | String | Class module |
proxy | String | name of the service proxy, will be put to proxies package |
property | type | documentation |
---|---|---|
base-classes | Array of String | List of base classes |
class | String | Qualified name of the service config class |
components | Array of String | List of service components |
config_key | String | Key under which the actual service config is registered in config |
extra-code | String | Extra code to be put below the service config class |
generate | Boolean | Generate the service config |
generate-links | Boolean | Generate links section (default) |
imports | Array of ImportSchema | List of python imports |
module | String | Class module |
service-id | String | ID of the service |
property | type | documentation |
---|---|---|
alembic | String | module where alembic files are stored |
alias | String | Alias under which the metadata is registered in setup.cfg |
base-classes | Array of String | A list of base classes |
class | String | Qualified name of the class |
extra-code | String | Extra code to be put below the record |
generate | Boolean | True to generate the metadata class |
imports | Array of ImportSchema | List of python imports |
module | String | Module where the metadata class resides |
table | String | Name of the database table |
property | type | documentation |
---|---|---|
base-classes | Array of String | List of base classes |
class | String | Qualified name of the class |
extensions | Array of String | List of dumper extensions |
extra-code | String | Extra code to be copied to the bottom of the dumper file |
generate | Boolean | Generate the dumper class |
imports | Array of ImportSchema | List of python imports |
module | String | Class module |
property | type | documentation |
---|---|---|
context-class | String | Context class, PIDFieldContext is used if not passed |
field-args | Array of String | Field arguments, default is create=True |
field-class | String | Field class, PIDField is used if not passed in |
generate | Boolean | Set to True (default) provider class |
imports | Array of ImportSchema | A list of python imports |
module | String | Module where the pid provider will be placed |
provider-base-classes | Array of String | List of provider base classes |
provider-class | String | Fully qualified name of the provider class |
type | String | PID type, generated from model name if not passed |
property | type | documentation |
---|---|---|
module | String |
property | type | documentation |
---|---|---|
alias | String | Alias under which the model is registered in setup.cfg |
file | String | File where to save the model |
module | String | Module where the file is saved |
property | type | documentation |
---|---|---|
base-classes | Array of String | A list of base classes |
class | String | Qualified name of the resource class |
config_key | String | Name of the config entry that holds the current resource class name |
extra-code | String | Extra code to be put to the bottom of the generated file |
generate | Boolean | Generate the resource class (default) |
imports | Array of ImportSchema | List of python imports |
module | String | Class module |
proxy | String | name of the generated proxy, will be put to proxies module |
property | type | documentation |
---|---|---|
base-classes | Array of String | A list of base classes |
base-url | String | The base url of the resource |
class | String | Qualified name of the config class |
config_key | String | Name of the config entry that holds the current resource class name |
extra-code | String | Extra code to be put below the generated config class |
generate | Boolean | Generate the resource config class (default) |
imports | Array of ImportSchema | List of python imports |
module | String | Class module |
property | type | documentation |
---|---|---|
base-classes | Array of String | Model base classes |
class | String | Qualified name of the class |
extra-code | String | Extra code to copy to record file |
generate | Boolean | Set true to generate the class (default) |
imports | Array of ImportSchema | List of python imports |
module | String | Class module |
property | type | documentation |
---|---|---|
alias | String | Alias under which the blueprint will be registered in the setup.cfg |
extra_code | String | Extra code to be pasted to blueprint |
function | String | Fully qualified blueprint function |
generate | Boolean | Generate blueprint, defaults to true |
imports | Array of ImportSchema | Python imports |
module | String | Module that will contain the blueprint |
property | type | documentation |
---|---|---|
extra_code | String | Extra code that will be pasted to app config |
imports | Array of ImportSchema | Python imports |
module | String | Module with app config |
property | type | documentation |
---|---|---|
alias | String | Alias under which the extension will be registered in setup.cfg and in app.extensions |
base-classes | String | A list of extension's base classes |
class | String | Extension class name |
extra_code | String | Extra code that will be pasted to app extension module |
imports | Array of ImportSchema | Python imports |
module | String | Module with ext schema |
property | type | documentation |
---|---|---|
alias | String | Alias to use for setup.cfg etc. |
base | String | Base name of the module (if the module has dot) |
base-upper | String | Uppercase of the base name |
kebab-module | String | Kebab case of the module |
path | String | Path on the filesystem with the top-level module |
prefix | String | Prefix that will be applied to class names |
prefix_snake | String | Snake variant of the prefix |
prefix_upper | String | Uppercase variant of the prefix |
qualified | String | Module (fully qualified) where the model is generated |
suffix | String | Suffix that will be applied to various names |
suffix_snake | String | Snake variant of the suffix |
suffix_upper | String | Uppercase variant of the suffix |
property | type | documentation |
---|---|---|
count | Integer | Number of generated records |
file | String | File into which the records will be generated |
property | type | documentation |
---|
property | type | documentation |
---|---|---|
opensearch | SettingsOpenSearchSchema | |
python | SettingsPythonSchema | |
schema-server | String |
property | type | documentation |
---|---|---|
use-autoflake | Boolean | |
use-black | Boolean | |
use-isort | Boolean |
property | type | documentation |
---|---|---|
version | String |